package com.example.service;

import com.example.bean.UserBean;

import java.util.List;

public interface UserService {

    public UserBean login(Long id, String password, String identity);

    public Long register(String user_name, String password, String tel, String e_mail, String identity);

    public boolean judgePassword(String password);

    public boolean judgePhone(String phone);

    public boolean judgeEmail(String email);

    /**
     * @return List<UserBean>
     * @description: 显示用户
     **/
    public List<UserBean> display_users();

    /**
     * @param user_name: 用户名
     * @param tel:       电话
     * @param e_mail:    邮箱
     * @param identity:  身份
     * @return boolean
     * @description: 新增老师
     **/
    public boolean add_teacher(String user_name, String tel, String e_mail, String identity);
}